﻿using API.UQBuy;
using Spring.Context;
using Spring.Context.Support;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplicationWcfTest
{
    class Program
    {
        static void Main(string[] args)
        {
            IApplicationContext ctx = ContextRegistry.GetContext();
            IServiceUser proxy = ctx.GetObject("SpringProxy") as IServiceUser;
            var msg = proxy.GetData(545454554);
            var test = proxy.GetData();
            proxy.DoWork();
            Console.Write(msg);

            Console.ReadLine();
        }
    }
}
